import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { LoginComponent } from './login/login.component';
import { RegisteComponent } from './registe/registe.component';
import { LogoutComponent } from './logout/logout.component';
import { HomeComponent as MemberHomeCmp} from './home/home.component';
import { RegisterLicensesComponent } from './register-licenses/register-licenses.component';
import { LostPasswordComponent } from './lost-password/lost-password.component';
import { RouterModule } from '@angular/router';
import { EmbedModule } from '../embed/embed.module';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { PersonalComponent } from './personal/personal.component';
import { RestPasswordComponent } from './rest-password/rest-password.component';
import { RestPasswordSuccessComponent } from './rest-password-success/rest-password-success.component';
import { PersonalProfileComponent } from './personal-profile/personal-profile.component';
import { PersonalAvatarComponent } from './personal-avatar/personal-avatar.component';
import { PersonalPassportComponent } from './personal-passport/personal-passport.component';
import { PersonalHistoryComponent } from './personal-history/personal-history.component';
import { PersonalPassportSuccessComponent } from './personal-passport-success/personal-passport-success.component';
import { PersonalSocialComponent } from './personal-social/personal-social.component';
import { PersonalFavoriteTopicResultComponent } from './personal-favorite-topic-result/personal-favorite-topic-result.component';
import { PersonalLikeTopicResultComponent } from './personal-like-topic-result/personal-like-topic-result.component';
import { PersonalPublishTopicResultComponent } from './personal-publish-topic-result/personal-publish-topic-result.component';
import { PersonalReplyTopicResultComponent } from './personal-reply-topic-result/personal-reply-topic-result.component';
import { BrowserModule } from '@angular/platform-browser';
import { ValidateEqualModule } from 'ng-validate-equal';
import { NamesUnionValidatorDirective } from './names-union-validator.directive';
import { MomentModule } from 'ngx-moment';
import { HomeRecentResultComponent } from './home-recent-result/home-recent-result.component';
import { PersonalFavoriteBoardResultComponent } from './personal-favorite-board-result/personal-favorite-board-result.component';
import { MessageModule } from '../message/message.module';
@NgModule({
  declarations: [
    MemberHomeCmp,
    LoginComponent,
    RegisteComponent,
    LogoutComponent,
    RegisterLicensesComponent,
    LostPasswordComponent,
    PersonalComponent,
    RestPasswordComponent,
    RestPasswordSuccessComponent,
    PersonalProfileComponent,
    PersonalAvatarComponent,
    PersonalPassportComponent,
    PersonalHistoryComponent,
    PersonalPassportSuccessComponent,
    PersonalSocialComponent,
    PersonalFavoriteTopicResultComponent,
    PersonalLikeTopicResultComponent,
    PersonalPublishTopicResultComponent,
    PersonalReplyTopicResultComponent,
    NamesUnionValidatorDirective,
    HomeRecentResultComponent,
    PersonalFavoriteBoardResultComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    ReactiveFormsModule,
    CommonModule,
    RouterModule,
    MessageModule,
    EmbedModule,
    ValidateEqualModule,
    MomentModule.forRoot({
      relativeTimeThresholdOptions: {
        'm': 59
      }
    })
  ],
  exports:[
  ]
})
export class MemberModule { }